package com.yu.mall.enums;

/**
 * @Desc: 状态
 * @Author: zhangyicheng
 * @Date: 2019/12/4
 */
public enum StatusEnum {

    ON("1", "上线"),
    OFF("2", "下线"),
    DEL("3", "删除"),
    ERR("4", "异常");

    private String code;

    private String desc;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    StatusEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
